Simulation and Debugging of Full System Binary Translation
نویسندگان
چکیده
We describe full system simulation of DAISY (Dynamically Architected Instruction Set from Yorktown). At runtime DAISY dynamically translates code for a PowerPC processor into code for an underlying VLIW processor. Our style of simulation can also be used in the context of full system emulation à la SimOS and SimICS. Unlike SimOS and SimICS, DAISY emulation is operating system and device independent. We have successfully simulated a workstation running under DAISY binary translation [7, 8, 9], starting with translation of the PowerPC firmware, continuing through the boot of the AIX 4.1.5 operating system to the login prompt and finally execution of X-Windows and a variety of utilities including emacs, latex, dbx, grep, ping, and a user mode version of the DAISY simulator itself. Simulated aspects of DAISY include large register sets, precise exceptions, parallel semantics of VLIW instructions, virtual address translation, cacheable and non-cacheable memory, and selfmodifying code — but not I/O devices. They are not needed. More difficult still is debugging. DAISY’s simulation code is two levels removed from the original PowerPC code (PowerPC VLIW PowerPC) with bugs possible in each level of translation. As well, the VLIW code is heavily reordered from the original PowerPC code, thus making it difficult to associate a particular VLIW operation with its original PowerPC counterpart. Finally, the simulation runs on the bare hardware of a workstation where there is an element of non-determinism and where incorrect accesses to I/O can crash the system and possibly corrupt the disk. We propose novel solutions for handling these problems.
منابع مشابه
Low-Complexity Dynamic Translation in VDebug
Machine-level dynamic binary translation has been used in applications ranging from debugging, performance analysis, and security policy enforcement to full machine virtualization. Most implementations are optimized for performance rather that simplicity: they translate to an internal intermediate form before generating target code. While an intermediate form greatly assists certain types of co...
متن کاملDynamic Compensation of Electrical Power Systems Using Multilevel Voltage Source Inverter
A New Static Var Generator (SVG), using cascaded full-bridge inverters (FBI) with binary output levels and the parallel connections of two cascaded inverters by means of current sharing reactor in each phases is introduced. The new M-level inverter, where M is 2n+2 - 3, consists of only 2n single-phase full bridges for each phases. The proposed technique not only increases the current capacity ...
متن کاملOptimal Placement of Phasor Measurement Units in Khorasan Network Using a Hybrid Intelligent Technique
In this paper, an efficient and comprehensive hybrid intelligent technique for the optimal placement of phasor measurement units (PMUs) is proposed to minimize the number of PMU installation subjected to full network observability. Three main purposes of PMUs output synchronous measurements are monitoring, control, and protection of power system. We have combined Binary Imperialistic Competitio...
متن کاملA General Persistent Code Caching Framework for Dynamic Binary Translation (DBT)
Dynamic binary translation (DBT) translates binary code from one instruction set architecture (ISA) to another (same or different) ISA at runtime, which makes it very useful in many applications such as system virtualization, whole program analysis, system debugging, and system security. Many techniques have been proposed to improve the efficiency of DBT systems for long-running and loop-intens...
متن کاملInvestigating Translation Strategies of Culture-Specific Items in Alignment with Nord’s Binary Translation Typology: A Case Study of Unaccustomed Earth
Culture is an extremely complex concept. Translating cultural elements is a demanding task due to the fact that these elements comprise specific meanings and implications belonging exclusively to the lan-guage and culture from which they have emerged. Regarding this point, the present article investigated the strategies employed for translating culture-specific items (CSIs) in an English nov...
متن کامل